package com.szsh.aiot.hsm.domain.homeNetWork;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.gson.annotations.SerializedName;

/**
 * 拓扑信息
 */
@JsonAutoDetect(fieldVisibility= JsonAutoDetect.Visibility.ANY, getterVisibility=JsonAutoDetect.Visibility.NONE, isGetterVisibility = JsonAutoDetect.Visibility.NONE)
@JsonIgnoreProperties(ignoreUnknown = true)
public class TopoInfo {

    @SerializedName("downloadspeed")
    private String downloadspeed;

    @SerializedName("par_mac")
    private String parMac;

    @SerializedName("acc_type")
    private int accType;

    @SerializedName("os")
    private String os;

    @SerializedName("acc_port")
    private String accPort;

    @SerializedName("ip")
    private String ip;

    @SerializedName("last_inactive_time")
    private String lastInactiveTime;

    @SerializedName("active")
    private int active;

    @SerializedName("rxbytes")
    private long rxbytes;

    @SerializedName("mac")
    private String mac;

    @SerializedName("txbytes")
    private long txbytes;

    @SerializedName("hostname")
    private String hostname;

    @SerializedName("last_active_time")
    private String lastActiveTime;

    @SerializedName("online_time")
    private long onlineTime;

    @SerializedName("uploadspeed")
    private String uploadspeed;

    @SerializedName("acc_speed")
    private long accSpeed;

    @SerializedName("devname")
    private String devname;

    @SerializedName("model")
    private String model;

    @SerializedName("power_level")
    private int powerLevel;

    @SerializedName("dev_type")
    private String devType;

    @SerializedName("workmode")
    private String workmode;

    @SerializedName("brand")
    private String brand;


    public String getDownloadspeed() {
        return downloadspeed;
    }

    public void setDownloadspeed(String downloadspeed) {
        this.downloadspeed = downloadspeed;
    }

    public String getUploadspeed() {
        return uploadspeed;
    }

    public void setUploadspeed(String uploadspeed) {
        this.uploadspeed = uploadspeed;
    }

    public String getParMac() {
        return parMac;
    }

    public void setParMac(String parMac) {
        this.parMac = parMac;
    }

    public int getAccType() {
        return accType;
    }

    public void setAccType(int accType) {
        this.accType = accType;
    }

    public String getOs() {
        return os;
    }

    public void setOs(String os) {
        this.os = os;
    }

    public String getAccPort() {
        return accPort;
    }

    public void setAccPort(String accPort) {
        this.accPort = accPort;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getLastInactiveTime() {
        return lastInactiveTime;
    }

    public void setLastInactiveTime(String lastInactiveTime) {
        this.lastInactiveTime = lastInactiveTime;
    }

    public int getActive() {
        return active;
    }

    public void setActive(int active) {
        this.active = active;
    }

    public long getRxbytes() {
        return rxbytes;
    }

    public void setRxbytes(long rxbytes) {
        this.rxbytes = rxbytes;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    public long getTxbytes() {
        return txbytes;
    }

    public void setTxbytes(long txbytes) {
        this.txbytes = txbytes;
    }

    public String getHostname() {
        return hostname;
    }

    public void setHostname(String hostname) {
        this.hostname = hostname;
    }

    public String getLastActiveTime() {
        return lastActiveTime;
    }

    public void setLastActiveTime(String lastActiveTime) {
        this.lastActiveTime = lastActiveTime;
    }

    public long getOnlineTime() {
        return onlineTime;
    }

    public void setOnlineTime(long onlineTime) {
        this.onlineTime = onlineTime;
    }

    public long getAccSpeed() {
        return accSpeed;
    }

    public void setAccSpeed(long accSpeed) {
        this.accSpeed = accSpeed;
    }

    public String getDevname() {
        return devname;
    }

    public void setDevname(String devname) {
        this.devname = devname;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public int getPowerLevel() {
        return powerLevel;
    }

    public void setPowerLevel(int powerLevel) {
        this.powerLevel = powerLevel;
    }

    public String getDevType() {
        return devType;
    }

    public void setDevType(String devType) {
        this.devType = devType;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getWorkmode() {
        return workmode;
    }

    public void setWorkmode(String workmode) {
        this.workmode = workmode;
    }

    @Override
    public String toString() {
        return "TopoInfo{" +
                "downloadspeed=" + downloadspeed +
                ", parMac='" + parMac + '\'' +
                ", accType=" + accType +
                ", os='" + os + '\'' +
                ", accPort='" + accPort + '\'' +
                ", ip='" + ip + '\'' +
                ", lastInactiveTime='" + lastInactiveTime + '\'' +
                ", active=" + active +
                ", rxbytes=" + rxbytes +
                ", mac='" + mac + '\'' +
                ", txbytes=" + txbytes +
                ", hostname='" + hostname + '\'' +
                ", lastActiveTime='" + lastActiveTime + '\'' +
                ", onlineTime=" + onlineTime +
                ", uploadspeed=" + uploadspeed +
                ", accSpeed=" + accSpeed +
                ", devname='" + devname + '\'' +
                ", model='" + model + '\'' +
                ", powerLevel=" + powerLevel +
                ", devType='" + devType + '\'' +
                ", workmode='" + workmode + '\'' +
                ", brand='" + brand + '\'' +
                '}';
    }
}
